package com.latam.arq.example.crud.ejb.services;

import java.util.List;

import javax.ejb.Local;

import com.latam.arq.commons.exceptions.LATAMException;
import com.latam.arq.example.domain.AdmisionBean;
import com.latam.arq.example.domain.CabeceraBean;
import com.latam.arq.example.domain.DetalleBean;
import com.latam.arq.example.domain.ExampleBean;
import com.latam.arq.example.domain.IsapreBean;
import com.latam.arq.example.domain.PamBean;
import com.latam.arq.example.persistence.exceptions.ExampleBeanServiceException;


@Local
public interface DetalleCRUDService {

	public DetalleBean get( Integer id ) throws ExampleBeanServiceException;
	public void insert( DetalleBean detalle ) throws ExampleBeanServiceException;
	public List<DetalleBean> list() throws ExampleBeanServiceException;
	public void delete(DetalleBean detalle) throws ExampleBeanServiceException ;
	public void update(DetalleBean detalle) throws ExampleBeanServiceException ;
	public void save(DetalleBean detalle)throws ExampleBeanServiceException ;
	public List<DetalleBean> getByRol( String rol ) throws ExampleBeanServiceException;
	public List<DetalleBean> getByNumPam( Integer numPam ) throws ExampleBeanServiceException;
	
}
